Skip to main content

switchEipSub2PygCancel

Description

cancel switch eip subscription to payasyougo.

Request Method

POST

Request Path

/customer/eip/switch/sub2pyg/cancel

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
chargingMethodBODYstringNoNo sample value for this parameter.charging method. PayByBandwidth or PayByTraffic
periodBODYstringNoNo sample value for this parameter.period
instanceIdBODYstringYesNo sample value for this parameter.instance id
costBODYstringNoNo sample value for this parameter.amount
orderIdBODYstringNoNo sample value for this parameter.order id
regionIdBODYstringYesNo sample value for this parameter.region id
billingMethodBODYstringYesNo sample value for this parameter.billing method. Subscription or PayAsYouGo
zoneIdBODYstringNoNo sample value for this parameter.zone id
pricingCycleBODYstringNoNo sample value for this parameter.cycle. Month or Year

Return data

NameTypeSample valueDescription
resultobject`{"orderId":2.02207271417009997E+18}`result
resultCodestring0result code
resultMsgstringsuccessresult message

Example

Successful Response example

{
"result":
{
"orderId":2.02207271417009997E+18
},
"resultCode":"0",
"resultMsg":"success"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}